package com.yuke.cloud.service.api.smc.service.hystrix;

import com.yuke.cloud.common.util.wrapper.Wrapper;
import com.yuke.cloud.service.api.smc.dto.GoodsAndSpecInfoDto;
import com.yuke.cloud.service.api.smc.dto.ShopCartInfoDto;
import com.yuke.cloud.service.api.smc.dto.ShopGoodsSalePriceDto;
import com.yuke.cloud.service.api.smc.dto.ShopInfoDto;
import com.yuke.cloud.service.api.smc.service.SmcFeignApi;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class SmcFeignApiHystrix implements SmcFeignApi {

    @Override
    public Integer updateStockCount(String json) {
        System.out.println("updateStockCount熔断");
        return null;
    }

    @Override
    public Byte getGoodsStatus(Long shopId, Long specId) {
        System.out.println("getGoodsStatus熔断");
        return null;
    }

    @Override
    public List<GoodsAndSpecInfoDto> getGoodsStatusList(List<GoodsAndSpecInfoDto> goodsAndSpecInfoDtos) {
        System.out.println("getGoodsStatusList熔断");
        return null;
    }

    @Override
    public Integer getLowPriceBySpecId(Long specId) {
        System.out.println("getLowPriceBySpecId熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getShopUserIdByShopIds(List<Long> shopIds) {
        System.out.println("getShopUserIdByShopIds熔断");
        return null;
    }

    @Override
    public List<ShopCartInfoDto> getShopCartInfoDto(List<GoodsAndSpecInfoDto> goodsAndSpecInfoDtos) {
        System.out.println("getShopCartInfoDto熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getShopInfoByShopIds(List<Long> shopIds) {
        System.out.println("shopIds="+shopIds);
        System.out.println("getShopInfoByShopIds熔断");
        return null;
    }

    @Override
    public ShopInfoDto getShopInfoByShopId(Long shopId) {
        System.out.println("shopId="+shopId);
        System.out.println("getShopInfoByShopId熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getAllShopInfo() {
        System.out.println("getAllShopInfo熔断");
        return null;
    }

    @Override
    public List<Long> getShopIdsShopName(String shopName) {
        System.out.println("getShopIdsShopName熔断");
        return null;
    }

    @Override
    public Wrapper<List<GoodsAndSpecInfoDto>> getShopGoodsSalePrice(ShopGoodsSalePriceDto shopGoodsSalePriceDto) {
        System.out.println("getShopGoodsSalePrice熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getShopAccountByShopIds(List<Long> shopIds) {
        System.out.println("getShopAccountByShopIds熔断");
        return null;
    }

    @Override
    public Integer getShopStockCount(Long shopId, Long specId) {
        System.out.println("getShopStockCount");
        return null;
    }

    @Override
    public Wrapper<ShopInfoDto> getShopByFactoryId(Long factoryId) {
        System.out.println("getShopByFactoryId熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getShopIdsByCondition() {
        System.out.println("getShopAccountByShopIds熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getShopInfoDtoByUserId(Long userId) {
        System.out.println("getShopInfoDtoByUserId熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getShopInfoByShopName(String shopName) {
        System.out.println("getShopInfoByShopName熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getShopInfoByGroupId(Long groupId) {
        System.out.println("getShopInfoByGroupId熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getShopInfoDtoByUserIdList(List<Long> userIds) {
        System.out.println("getShopInfoDtoByUserIdList熔断");
        return null;
    }

    @Override
    public Integer addShop(ShopInfoDto shopInfoDto) {
        System.out.println("addshop熔断");
        return 0;
    }

    @Override
    public Integer saveShop(ShopInfoDto shopInfoDto) {
        System.out.println("saveshop熔断");
        return 0;
    }

    @Override
    public Integer addDmsSend(Long userId,Long orderId,Integer amountPay) {
        System.out.println("addDmsSend熔断");
        return 0;
    }

    @Override
    public Integer updateSendDeleteTag(Long orderId) {
        System.out.println("updateSendDeleteTag熔断");
        return 0;
    }

    @Override
    public List<ShopInfoDto> getShopNameByShopIds(List<Long> shopIds) {
        System.out.println("getShopNameByShopIds熔断");
        return null;
    }


}
